From 28aaa7bfff26a30206184be1aca7359392b7d1eb Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Sat, 5 Apr 2008 22:18:21 +0100 Subject: [PATCH] ia64: Fix the build by using generic cpu_to_node() abstraction in a common header file. Signed-off-by: Alex Williamson --- xen/include/xen/numa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/xen/numa.h b/xen/include/xen/numa.h index 6fe8ad9a8b..80aa3586be 100644 --- a/xen/include/xen/numa.h +++ b/xen/include/xen/numa.h @@ -12,7 +12,7 @@ #define MAX_NUMNODES (1 << NODES_SHIFT) -#define vcpu_to_node(v) (cpu_to_node[(v)->processor]) +#define vcpu_to_node(v) (cpu_to_node((v)->processor)) #define domain_to_node(d) \ (((d)->vcpu[0] != NULL) ? vcpu_to_node((d)->vcpu[0]) : NUMA_NO_NODE) -- 2.30.2